package com.example.plat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.plat.enity.Activity;
import com.example.plat.enity.Comment;
import com.example.plat.enity.Place;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GetActivityMapper extends BaseMapper<Activity> {

    Integer isJoin(Long userId,Long actId);

    Place getPlace(Long name);

    void updateView(Long actId);

    List<String> getImage(Long actId);

    List<Comment> getComment(Long actId);
}
